package org.p2psimulator.entity.behavior;


import org.p2psimulator.entity.Id;
import org.p2psimulator.entity.Message;
import org.p2psimulator.entity.reputation.ReputationRepository;

public class SelfishBehavior extends Behavior {

	@Override
	public boolean answareMessage(Id rater, Message msg) {
                interacitonCount++;
		return false;
	}

	@Override
	public BehaviorTypes getBehaviorType() {
		return BehaviorTypes.SELFISH;
	}

	@Override
	public boolean rate() {
		return false;
	}
	@Override
	public double ratePeer(Id rater, Id ratee,
			BehaviorTypes rateeBehavior,
			ReputationRepository repository) {
		return 0;
	}

	@Override
	public double rateResource(Id rater, Id resource,
			ReputationRepository repository) {
		return 0;
	}

	@Override
	public double rateTransaction(Id rater, Id ratee, int transResult,
			BehaviorTypes rateeBehavior,
			ReputationRepository repository) {
	interacitonCount++;
            return 0;
	}

	@Override
	public boolean damageResource() {
		return false;
	}

	@Override
	public boolean transacNeutro(BehaviorTypes rateeBehavior, Id ratee) {
		return false;
	}

}
